package leetcode.code1832;

import java.util.HashSet;
import java.util.Set;

public class Solution {
	public boolean checkIfPangram(String sentence) {
		Set<Character> set = new HashSet<>();
		for (int i = 0; i < sentence.length() && set.size() < 26; i++) {
			set.add(sentence.charAt(i));
		}
		return set.size() == 26;
	}
}
